package com.wangzaiplus.test.proxy;

/**
 * @ClassName Person
 * @Description: TODO
 * @Author wgc
 * @Date 2020/04/16 18:21
 * @Version V1.0
 **/
public class Person implements  PersonBean {
    String name;
    int age;
    int HotOrNotRating;
    public  Person(String name, int age, int HotOrNotRating){
        this.name = name; this.age = age;
        this.HotOrNotRating = HotOrNotRating;
    }
    public void setName(String name){this.name = name;}
    public void setAge(int age){this.age = age;}
    public void setHotOrNotRating(int HotOrNotRating){
        System.out.println("我被代理了");
        this.HotOrNotRating = HotOrNotRating;
    }
    public String getName() {return name;}
    public int getAge() {return age;}
    public int getHotOrNotRating() {return HotOrNotRating;}

}
